Half & Half : Multiple
نویسندگان
چکیده
Software often goes through a variety of extensions during its lifetime: adding new fields or new variants to a data structure, retroactively creating new type abstractions, and adding new operations on a data structure. As characterized by the extensibility problem, it should be possible to apply any combination of these types of extensions in any order. Mainstream object-oriented languages, however, do not well support the latter two. This paper proposes two language mechanisms that facilitate extending existing type hierarchies: multimethod dispatch and retroactive abstraction. For these two mechanisms to coexist, it is necessary to allow method dispatch on parameters of interface types, which presents problems with static type-checking. We present a type-safe solution that combines the two mechanisms by limiting multimethod type checks to package boundaries and by compiling certain packages with multimethods into sealed Jar files.
منابع مشابه
Analysis of Multiple Yoffe-type Moving Cracks in an Orthotropic Half-Plane under Mixed Mode Loading Condition
The present paper deals with the mixed mode fracture analysis of a weakened orthotropic half-plane with multiple cracks propagation. The orthotropic half-plane contains Volterra type glide and climb edge dislocations. It is assumed that the medium is under in-plane loading conditions. The distributed dislocation technique is used to obtain integral equations for the dynamic problem of multiple ...
متن کاملMultiple cracks in an elastic half-plane subjected to thermo-mechanical loading
An analytical solution is presented for the thermoelastic problem of a half-plane with several cracks under thermo mechanical loading using distributed dislocation technique. The uncoupled quasi-static linear thermoelasticity theory is adopted in which the change in temperature, if any, due to deformations is neglected. The stress field in a half-plane containing thermoelastic dislocation is ob...
متن کاملQSAR Prediction of Half-Life, Nondimentional Eeffective Degradation Rate Constant and Effective Péclet Number of Volatile Organic Compounds
In this work some quantitative structure activity relationship models were developed for prediction of three bioenvironmental parameters of 28 volatile organic compounds, which are used in assessing the behavior of pollutants in soil. These parameters are; half-life, non dimensional effective degradation rate constant and effective Péclet number in two type of soil. The most effective descripto...
متن کاملQSAR studying of oxidation behavior of Benzoxazines as an important pharmaceutical property
In this work the electrooxidation half-wave potentials of some Benzoxazines were predicted from their structural molecular descriptors by using quantitative structure-property relationship (QSAR) approaches. The dataset consist the half-wave potential of 40 benzoxazine derivatives which were obtained by DC-polarography. Descriptors which were selected by stepwise multiple selection procedure ar...
متن کاملQSAR studying of oxidation behavior of Benzoxazines as an important pharmaceutical property
In this work the electrooxidation half-wave potentials of some Benzoxazines were predicted from their structural molecular descriptors by using quantitative structure-property relationship (QSAR) approaches. The dataset consist the half-wave potential of 40 benzoxazine derivatives which were obtained by DC-polarography. Descriptors which were selected by stepwise multiple selection procedure ar...
متن کاملThe Design of half-subtractor Logic Function Based on Nonlinear Directional Coupler
In this paper a novel design of all-optical half-subtractor based on nonlinear directional coupler is proposed. By using four waveguides and appropriately adjusting the refractive indices and selecting the proper length of waveguides, halfsubtractor function can be obtained. The operation of this function is simulated by RSoft CAD-Layout (BeamPROP) simulator. The simulation results confirm the ...
متن کامل